<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/html"
      xmlns:p="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery.min.js"></script>
<!--    <script src="../templates/js/jquery.min.js"></script>-->
<!--<script src="../templates/js/jquery.min.js"></script>-->
</head>
<body>


<img id="image" src="../templates/images/shen.jpg">
<button type="button" onclick="shen()" >换图片</button>

<script>
//     document.onload=function ()
//     {
//         alert("12");
//     }
//
// function shen()
// {
//
//     document.getElementById("image").src="../templates/images/shen.jpg";
// }
window.onload=function (){


}
</script>
</body>
</html>